from googletrans import Translator


def translate():
    trans = Translator(service_urls=['translate.google.com', ])
    text = trans.translate("你好呀", src='zh-cn', dest='en')
    return text.text
